package edu.biwu.service.impl;

import edu.biwu.dao.UserDao;
import edu.biwu.dao.impl.UserDaoImpl;
import edu.biwu.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * @author 王俊彪
 * @version 1.0
 */
//@Component("userService")//相当于<brean id="userService" class ="edu.biwu.service.impl.UserServiceImpl" />
@Service
public class UserServiceImpl03 implements UserService {



    @Autowired
    @Qualifier("userDaoImpl")
    private UserDao userDao ;


    @Override
    public String toString() {
        return "UserServiceImpl03{" +
                "userDao=" + userDao +
                '}';
    }
}
